package com.hhkj.study.admin.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BizBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
*
* @author SERVER
* @since 2024-09-06
*/
@TableName(value = "x_user_login")
@EqualsAndHashCode(callSuper = true)
@Data
public class UserLogin extends BizBaseEntity {

	/**
	 * 用户id,x_user表中id
	*/
	private Long userId;
	/**
	 * 1-微信扫码2-验证码3-手机号密码
	*/
	private Long loginType;
	/**
	 * 手机号码
	*/
	private String mobile;
	/**
	 * 登录IP
	*/
	private String loginIp;
	/**
	 * 登录地点
	*/
	private String region;
	/**
	 * 浏览器
	*/
	private String browser;
	/**
	 * 操作系统
	*/
	private String os;

	@TableField(exist = false)
	private String delFlag;

}